package cn.tedu.coolshark01.product.service.impl;

import cn.tedu.coolshark01.product.mapper.ProductMapper;
import cn.tedu.coolshark01.product.service.ProductService;
import cn.tedu.coolshark01.user.pojo.vo.ProductVO;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    ProductMapper productMapper;
    @Override
    public List<ProductVO> selectproduct() {
        log.debug("查询商品业务开始执行");
        List<ProductVO> list = productMapper.selectproduct();
        return list;
    }
}
